package com.hugoo.form.xo;

import com.hugoo.core.util.TL;

/**
 *
 * @author Lovelock.Chan
 */
public abstract class XDBL {

    protected String dbl;//数据库实例

    public abstract String getParentDbl();

    public String getDbl() {
        if (TL.isEmpty(dbl)) {
            return getParentDbl();
        }
        return dbl;
    }

    public void setDbl(String dbl) {
        this.dbl = dbl;
    }
}
